Ratings: <strong><%= @filtered_ratings_number %></strong> &nbsp; &nbsp; &nbsp; 
Side Effects: <strong><%= @filtered_sideffects.size %></strong>
<table valign = "top" border = "0" width = "100%">
  <tr bgcolor = "#87a2a3">
    <td>Side Effect</td>
    <td>Frequency</td>
  </tr>
  <% count = 0%>
  <% @filtered_sideffects.each do |sideffect| %>
    <tr bgcolor = "<%= count % 2 == 0 ? "#ffffff" : "#cae8ea" %>">
      <td align = "left">
        <strong><%= link_to_remote(h(sideffect.name), :url => {:controller => "category", :action => "show_sideffect_detail", :category_id => @category.id, :sideffect_id => sideffect.id, :sex => @filter_params[:sex], :age => @filter_params[:age], :time_taken => @filter_params[:time_taken]}, :update => "sideffect_detail") %></strong>
      </td>
      <td align = "right">
        <strong><%= sprintf("%2.2f", 100 * sideffect.cnt.to_f / @filtered_ratings_number.to_f) + "%" %></strong>
      </td>
      <% count += 1 %>
    </tr>
  <% end %>
</table>s